package com.wtwd.campus.dao;

import com.wtwd.campus.entity.OffLineBufferCmd;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Author ldaoliang
 * @Date create in 16:37 2021/6/10
 * @Description
 */
@Mapper
public interface OffLineBufferCmdMapper {

    int saveOffLineBufferCmd(@Param("data") OffLineBufferCmd data);

    List<Map<String,Object>> getOffLineBufferCmd(String imei);

    Integer deleteOffLineBufferCmd(String imei);

    OffLineBufferCmd selectOffLineBufferCmd(@Param("imei") String imei,@Param("cmd") String cmd,@Param("seq") Integer seq);

    Integer modifyOffLineBufferCmd(@Param("data") OffLineBufferCmd data);

}
